import MarkdownIt from "markdown-it";
import markdownQuote from "markdown-it-quote";
import markdownkatex from "@vscode/markdown-it-katex";
import hljs from "markdown-it-highlightjs"

import katex from "katex";
import "katex/contrib/mhchem";
import "katex/contrib/copy-tex";

const md = new MarkdownIt();
md.use(markdownQuote);
md.use(markdownkatex, { katex });
md.use(hljs);

export default md;
